import 'package:flutter/material.dart';

/// 去掉scrollview下拉的水波纹
class NoSplashScrollBehavior extends ScrollBehavior {
  @override
  Widget buildOverscrollIndicator(BuildContext context, Widget child, ScrollableDetails details) {
    if (getPlatform(context) == TargetPlatform.android) return child;
    return super.buildOverscrollIndicator(context, child, details);
  }
}
